package com.googlecode.project4uz.demo;

import java.io.Serializable;
import java.util.HashMap;

public class RefForSerialize implements Serializable
{
	private static final long serialVersionUID = 5923542192997473575L;
	public HashMap<String, RefInner> mapa;
	public char znak;
	public RefInner ref;
	
	public RefForSerialize()
	{
		this.mapa = new HashMap<String, RefInner>();
			mapa.put( new String("Aaaa!"), new RefInner());
			mapa.put( new String("Bbbb!"), new RefInner());
		this.znak = 'r';
		this.ref = new RefInner();
	}
	
	public class RefInner
	{
		public String tekst;
		public int liczbaNaturalna;
		
		public RefInner()
		{
			this.tekst = "Ala ma psa!";
			this.liczbaNaturalna = 15;
		}
	}
}
